﻿//=============================================================================
// Project  : NIPO Component Framework
// File    : SimpleInputConfiguration.cs
// Author  : Bernhard Dieber (Bernhard.Dieber@uni-klu.ac.at)
// Copyright 2010 by Bernhard Dieber
// This code is published under the Microsoft Public License (Ms-PL).  A copy
// of the license should be distributed with the code.  It can also be found
// at the project website: http://NIPO.CodePlex.com.   This notice, the
// author's name, and all copyright notices must remain intact in all
// applications, documentation, and source files.
//=============================================================================

using System;
using NIPO.Util;
using System.ComponentModel;
namespace NIPOPlugins.Input
{
    [Serializable]
    public class SimpleInputConfiguration : PluginConfiguration
    {
        private string _filename;
        private int _chunkSize = 128;

        public string Filename
        {
            get { return _filename; }
            set { _filename = value; }
        }

        [Description("How many bytes to read from the file at once")]
        public int ChunkSize
        {
            get { return _chunkSize; }
            set { _chunkSize = value; }
        }
    }
}
